﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="IBindableValue.cs" company="">
//   
// </copyright>
// <summary>
//   The BindableValue interface.
// </summary>
// --------------------------------------------------------------------------------------------------------------------

namespace Libium
{
    using System;

    /// <summary>
    /// The BindableValue interface.
    /// </summary>
    /// <typeparam name="T">
    /// </typeparam>
    public interface IBindableValue<T>
    {
        #region Public Events

        /// <summary>
        ///   The value changed.
        /// </summary>
        event Action<IBindableValue<T>> ValueChanged;

        #endregion

        #region Public Properties

        /// <summary>
        ///   Gets the value.
        /// </summary>
        T Value { get; }

        #endregion
    }
}